package coms.ejb;

import coms.dataaccess.dao.LocationDAO;
import coms.dataaccess.hibernate.HibernateDAOFactory;
import coms.dto.Location;
import javax.annotation.PostConstruct;
import javax.ejb.Stateless;


@Stateless (mappedName="LocationBean")
public class LocationBean extends GenericBean<Location> implements LocationBeanRemote{
    
  private LocationDAO locationDAO;
    
    @PostConstruct
    public void construct(){
        super.construct();
        HibernateDAOFactory factory = new HibernateDAOFactory();
        locationDAO = factory.getLocationDAO();
    }
    
    
}
